from applications.extensions import ma
from marshmallow import fields


# 用户models的序列化类
from applications.models import Dept


class SignequipOutSchema(ma.Schema):
    id = fields.Integer()
    code = fields.Str()
    sn = fields.Str()
    name = fields.Str()
    remark = fields.Str()
    dept_id = fields.Integer()
    dept_parent_name = fields.Str()
    dept_name = fields.Str()